package com.yimi.yinhepda.entity.response;

import com.yimi.yinhepda.entity.bean.JoinPeopleEntity;
import java.util.List;

/**
 * @author 000432
 * @date 2018/5/3 0003
 */

public class JoinPeopleResponse {
  private boolean success;
  private String[] errorMessages;
  private int errorCode;
  private Data data;

  public boolean isSuccess() {
    return success;
  }

  public void setSuccess(boolean success) {
    this.success = success;
  }

  public String[] getErrorMessages() {
    return errorMessages;
  }

  public void setErrorMessages(String[] errorMessages) {
    this.errorMessages = errorMessages;
  }

  public int getErrorCode() {
    return errorCode;
  }

  public void setErrorCode(int errorCode) {
    this.errorCode = errorCode;
  }

  public Data getData() {
    return data;
  }

  public void setData(Data data) {
    this.data = data;
  }

  public static class Data {
    private int pageSize;
    private int recordIndex;
    private int totalPage;
    private int totalRecord;
    private int currentPage;
    private int recordEnd;
    private int recordStart;
    private List<JoinPeopleEntity> records;

    public int getPageSize() {
      return pageSize;
    }

    public void setPageSize(int pageSize) {
      this.pageSize = pageSize;
    }

    public int getRecordIndex() {
      return recordIndex;
    }

    public void setRecordIndex(int recordIndex) {
      this.recordIndex = recordIndex;
    }

    public int getTotalPage() {
      return totalPage;
    }

    public void setTotalPage(int totalPage) {
      this.totalPage = totalPage;
    }

    public int getTotalRecord() {
      return totalRecord;
    }

    public void setTotalRecord(int totalRecord) {
      this.totalRecord = totalRecord;
    }

    public int getCurrentPage() {
      return currentPage;
    }

    public void setCurrentPage(int currentPage) {
      this.currentPage = currentPage;
    }

    public int getRecordEnd() {
      return recordEnd;
    }

    public void setRecordEnd(int recordEnd) {
      this.recordEnd = recordEnd;
    }

    public int getRecordStart() {
      return recordStart;
    }

    public void setRecordStart(int recordStart) {
      this.recordStart = recordStart;
    }

    public List<JoinPeopleEntity> getRecords() {
      return records;
    }

    public void setRecords(List<JoinPeopleEntity> records) {
      this.records = records;
    }
  }
}


